package com.wangx1n.bean;

import java.util.List;

/**
 * @author WangXin
 * @date 2020/12/2 17:35
 * 部门类
 */

public class Dept {
    private String dname;

//    private List<Emp> emps;
//
//    public void setEmps(List<Emp> emps) {
//        this.emps = emps;
//    }


    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public void print(){
        System.out.println("部门名称是："+dname);
    }
}
